//1.创建Node节点类Node
class Node<T> {
    value: T
    next: Node<T> | null = null 
    constructor(value: T) {
        this.value = value
    }
}

//2.创建LinkedList的类
class LinkList<T> {
    head: Node<T> | null = null
    private size: number = 0
    
    get length(){
        return this.size
    }
}

 const linkedList = new LinkList<string>()
 console.log(linkedList.head)

export {}